/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Classes;

/**
 *
 * @author Alexis
 */
public class Element {
    
    private String name;
    private String description;
    
    public Element (String name) {
        this.setName(name);
    }
    
    public Element (String name, String description) {
        this.setName(name);
        this.setDescription(description);
    }
    
    public void setName(String name) {
        if (name!= null && !name.isEmpty()) {
            this.name = name;
        }
    }
    
    public void setDescription (String description) {
        if (description!= null && !description.isEmpty()) {
            this.description = description;
        }
    }            
            
           
}
